<h2>sparkline.js</h2>
<p>Library for drawing Sparklines, using SVG.</p>
<hr/>

<h3>Objects</h3>
<ul>
	<li><a href="#sparkline">OAT.Sparkline(div, optObj)</a></li>
</ul>

<h3>Methods</h3>
<ul>
	<li><a href="#attachdata">OAT.Sparkline::attachData(dataArray)</a></li>
	<li><a href="#draw">OAT.Sparkline::draw()</a></li>
</ul>

<hr/>

<h3><a name="sparkline">OAT.Sparkline(div, optObj)</a></h3>
<p>Creates a Sparkline inside <em>div</em>, <em>optObj</em> describes its properties. Its values are the same as in Line Chart.</p>

<h3><a name="attachdata">OAT.Sparkline::attachData(dataArray)</a></h3>
<p>Adds data to sparkline.</p>

<h3><a name="draw">OAT.Sparkline::draw()</a></h3>
<p>Draws the Sparkline.</p>

<pre class="code">
var s = new OAT.Sparkline("myDiv",{});
s.attachData([1,2,3,-5,2,3.7,5,4]);
s.draw();
</pre>
